package me.yushuai.wukong.base.entity.embedded;


import lombok.Data;
import me.yushuai.wukong.base.api.dto.AttrType;
import me.yushuai.wukong.base.api.dto.InputType;

import javax.persistence.Column;
import javax.persistence.Embeddable;

/**
 * @author zhoushuai@189.cn
 * @since 2022-12-02
 */
@Data
@Deprecated
@Embeddable
public class EmbeddedLotAttrRule {

    /**
     * 属性标签
     */
    @Column(name = "LOT_ATT_LABEL")
    private String lotAttLabel;

    /**
     * 输入控制
     */
    @Column(name = "LOT_ATT_FLAG")
    private InputType lotAttFlag;

    /**
     * 格式
     */
    @Column(name = "LOT_TYPE")
    private AttrType lotType;

    /**
     * RF上显示的属性标签
     */
    @Column(name = "LOT_ATT_LABEL_RF")
    private String lotAttLabelRf;

    /**
     * 可设置为下拉框的属性值
     */
    @Column(name = "LOT_ATT_VALUE")
    private String lotAttValue;


    /**
     * 关键属性
     */
    @Column(name = "LOT_KEY")
    private Boolean lotKey;


    /**
     * RF批次属性显示控制
     */
    @Column(name = "RF_SHOW")
    private Boolean rfShow;

    /**
     * 验证
     */
    @Column(name = "VALIDATION")
    private Boolean validation;

}
